package smarthouse.ejb;

import javax.ejb.Remote;

import smarthouse.dto.RoomDTO;

/**
 * @author Sergiu
 *
 */
@Remote
public interface RoomDAORemote {
	/**
	 * Get room by Id
	 * 
	 * @param id
	 * @return
	 */
	RoomDTO getRoombyId(int id);

	/**
	 * Insert room
	 * 
	 * @param user
	 * @return
	 */
	boolean addRoom(RoomDTO user);

	/**
	 * Update room information
	 * 
	 * @param user
	 * @return
	 */
	boolean updateRoom(RoomDTO user);

	/**
	 * Remove room
	 * 
	 * @param id
	 * @return
	 */
	boolean removeRoom(int id);

}
